package com.cytech.cloudclinic.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Drug implements Serializable {

    /**
     * drug_name : 京都念慈庵
     * spell_first : J
     * spell : JDNCA
     * short : 念慈庵
     * short_spell : NCA
     * number : 24
     * subunit : 粒
     * parent_unit : 盒
     * sub_price : 1
     * parent_price : 24
     * company : 京都念慈庵总唱有限公司监制
     */
    public int drug_id;
    public String drug_name;
    public String spell_first;
    public String spell;
    @SerializedName("short")
    public String shortX;
    public String short_spell;
    public int number;
    public List<Integer> numbers;
    public String subunit;
    public String parent_unit;
    public double sub_price;
    public double parent_price;
    public String company;

    public String usage_mode;
    public String frequency;
    public int dosage;
    //剂量单位
    public String dosage_unit;

    public String subunit_text;

    //处方的地方使用
    public String usage_mode_text;
    public String frequency_text;
    public String cont_unit_text;
    public String count_unit;
    //数量，手动输入，默认为1
    public int count = 1;
    //早中晚数量
    public List<Integer> counts = new ArrayList<>();


    public Acupoint acupoints = new Acupoint();

    //创建处方单的时候判断是否是头部
    public int headTitle = -1;
    //处方收费价钱
    public double practical_price;
    //体位
    public String bodyPoint;
    //次数
    public int bodyPointTimes;

    public List<Drug> list;

}
